include_directories(
	${PROJECT_SOURCE_DIR}/Boost.Python
	${PROJECT_SOURCE_DIR}/Boost.Python/python27/include
	${PROJECT_SOURCE_DIR}/EncDec
	${PROJECT_SOURCE_DIR}/Netbase
	${PROJECT_SOURCE_DIR}/zlib
)
set(LIB_HEADERS
	PyThreadLock.h
	PyServer.h
	PyMsg.h
	PyTick.h
 )
set(LIB_SRCS 
	PyServer.cpp
	PyMsg.cpp
	PyTick.cpp
	#main.cpp
)
LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lib 
				 ${PROJECT_SOURCE_DIR}/Boost.Python/python27/lib)


set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/Tests)
#add_executable(pysrv ${LIB_SRCS} ${LIB_HEADERS})
add_library(pysrv SHARED ${LIB_SRCS} ${LIB_HEADERS})
target_link_libraries(pysrv python_boost zlib EncDec Netbase)


